package com.youhome.service.mapper;

import com.youhome.service.model.BRecommendHouse;
import com.youhome.service.model.ListHub;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BRecommendHouseMapper {
    int delete(BRecommendHouse record);

    int deleteByCompanyId(Long companyId);

    int insert(BRecommendHouse record);

    int insertSelective(BRecommendHouse record);

    BRecommendHouse selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BRecommendHouse record);

    int selectIsExistByCompanyIdAndHouseID(BRecommendHouse record);

    int updateByPrimaryKey(BRecommendHouse record);

    List<Long> selectHouseIDByCompanyId(Long companyId);

    int selectCountByCompanyId(Long companyId);

}